class City {
    private name :string;

    constructor(name :string) {
        if (name === undefined || name === null || name === "")
            throw ("name parameter may not be undefined, null, or empty.");

        this.name = name;
    }

    getName() :string {
        return this.name;
    }
}